package com.hinnotek.amoeba.repo

import com.hinnotek.amoeba.api.ApiService
import com.hinnotek.amoeba.bean.old.UserChangeLoginPwdBean
import com.lee.common.base.BaseRepository
import com.lee.common.network.net.StateLiveData
import javax.inject.Inject

class UserRepo @Inject constructor(private val service: ApiService) : BaseRepository() {


    suspend fun changePass(
        userId: Int,
        password: String,
        rePassword: String, stateLiveData: StateLiveData<UserChangeLoginPwdBean>
    ) {
        executeResp({ service.changePass(userId, password, rePassword) }, stateLiveData)
    }


}